package com.spa.application.dto.admin;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

@Data
@JsonInclude
public class FinanceOrderListExportDTO {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ExcelProperty(value = "订单id", index = 0)
    private Long orderId;

    @ExcelProperty(value = "订单编号", index = 1)
    private String orderCode;

    @ExcelProperty(value = "交易单号", index = 2)
    private String transactionId;

    @ExcelProperty(value = "所属门店", index = 3)
    private String shopName;

    @ExcelProperty(value = "订单状态", index = 4)
    private String orderStatus;

    @ExcelProperty(value = "服务项目", index = 5)
    private String serviceName;

    @ExcelProperty(value = "服务技师", index = 6)
    private String massagistName;

    @ExcelProperty(value = "下单时间", index = 7)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;

    @ExcelProperty(value = "项目金额", index = 8)
    private String servicePrice;

    @ExcelProperty(value = "加钟金额", index = 9)
    private String extPrice;

    @ExcelProperty(value = "出行费用", index = 10)
    private String travelPrice;

    @ExcelProperty(value = "订单总额", index = 11)
    private String totalPrice;

    @ExcelProperty(value = "优惠券", index = 12)
    private String ticketPrice;

    @ExcelProperty(value = "用户实付", index = 13)
    private String payPrice;

    @ExcelProperty(value = "支付方式", index = 14)
    private String payType;

    @ExcelProperty(value = "技师分佣比例", index = 15)
    private Double massagistCommissionSharingProportion;

    @ExcelProperty(value = "技师分佣金额", index = 16)
    private String massagistCommissionSharingPrice;

    @ExcelProperty(value = "技师应结算总费用", index = 17)
    private String massagistTotalPrice;

    @ExcelProperty(value = "门店分佣比例", index = 18)
    private Double shopCommissionSharingProportion;

    @ExcelProperty(value = "门店分佣金额", index = 19)
    private String shopCommissionSharingPrice;

    @ExcelProperty(value = "支付费率", index = 20)
    private String payRate;

    @ExcelProperty(value = "支付手续费", index = 21)
    private String payCommission;

    @ExcelProperty(value = "平台分佣比例", index = 22)
    private Double platformCommissionSharingProportion;

    @ExcelProperty(value = "平台分佣金额", index = 23)
    private String platformCommissionSharingPrice;

    @ExcelProperty(value = "平台实收", index = 24)
    private String platformActualPrice;

    @ExcelProperty(value = "技师提现时间", index = 25)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date massagistWithdrawTime;

    @ExcelProperty(value = "技师提现状态", index = 26)
    private String massagistWithdrawStatus;

    @ExcelProperty(value = "技师提现金额", index = 27)
    private String massagistWithdrawPrice;

    @ExcelProperty(value = "门店提现时间", index = 28)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shopWithdrawTime;

    @ExcelProperty(value = "门店提现状态", index = 29)
    private String shopWithdrawStatus;

    @ExcelProperty(value = "门店提现金额", index = 30)
    private String shopWithdrawPrice;

    @ExcelProperty(value = "技师提现ID", index = 31)
    private Long massagistWithdrawId;

    @ExcelProperty(value = "门店提现ID", index = 32)
    private Long shopWithdrawId;

    @ExcelProperty(value = "订单来源", index = 33)
    private String source;

}
